<h1>Listing staff_roles</h1>

<table>
  <thead>
    <tr>
      <th>Label</th>
      <th>Code</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Created by</th>
      <th>Updated by</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @staff_roles.each do |staff_role| %>
      <tr>
        <td><%= staff_role.label %></td>
        <td><%= staff_role.code %></td>
        <td><%= staff_role.created_at %></td>
        <td><%= staff_role.updated_at %></td>
        <td><%= staff_role.created_by %></td>
        <td><%= staff_role.updated_by %></td>
        <td><%= link_to 'Show', staff_role %></td>
        <td><%= link_to 'Edit', edit_staff_role_path(staff_role) %></td>
        <td><%= link_to 'Destroy', staff_role, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Staff role', new_staff_role_path %>
